#pragma once
//结构声明
typedef int Element_t;

typedef struct{
    Element_t* data;
    int pos;
    int capacity;
}Seqtable_t;

//接口声明
Seqtable_t* createSeqTable(int n);

int deleteSeqTable(Seqtable_t* table,Element_t val);

void releaseSeqTable(Seqtable_t* table);

int insertSeqTable(Seqtable_t* table,Element_t val);  // 尾插法

int insertPosSeqTable(Seqtable_t* table,int index,Element_t val);  // 任意位置插入

void showSeqTable(const Seqtable_t* table);

int findSeqTable(const Seqtable_t* table,Element_t val);

void pushbackSeqTable(Seqtable_t* table);